// 分页
export interface IPagination {
    total: number,
    pageSize: number,
    showSizeChanger: boolean,
    pageSizeOptions: string[],
    showTotal: (total: number, range: [number, number]) => any,
    current: number,
}
// 操作类型
type ActionTypes = 'add' | 'delete' | 'detail' | 'showChange' | 'replenish' | 'change'

export type IActionTypes = Record<ActionTypes, string>
export type IActionType = keyof IActionTypes
// 操作菜单
export interface IActionMenuItem {
    name: string;
    value: ActionTypes;
}